{% extends 'base.html'%}

{% block content %}
<p>Welcome to read News ,you can find latest 20 news here</p>
{% if user.is_authenticated %}

Hello  user: {{user}}

{%endif%}




{%for n in news%}
	<p>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/users/news/{{n.id}}/">{{ n.date }}</a></p>



{%endfor%}
{%endblock%}